home *** CD-ROM | disk | FTP | other *** search
/ PC for Alla 2005 May / PC för Alla 0505.iso / fullversioner / realsoft3d / data1.cab / Scripting / scripts / js / real / raytr / r3phasys.js < prev    next >
Encoding:
JavaScript  |  2005-04-04  |  2.2 KB  |  87 lines

  1.  
  2. // JavaScript wrapper for r3phasys.h
  3. // Auto generated file, do not modify by hand
  4. // Copyright ⌐ 2004, Realsoft Graphics Oy
  5.  
  6. var R3_PHASESYSTEM_H = 1;
  7. include("oops/r3root.js")
  8.  
  9.  
  10. var R3CLID_PHASESYSTEM = 488;
  11.  
  12.  
  13.  
  14.  
  15. // Description: Installs a new phase to the material phase system.
  16.  
  17. R3PHSYSCM_INSTALLPHASE = 488000;
  18.  
  19. function mR3PHSYSCM_INSTALLPHASE() {
  20.   DoA(this.r3obj, 488000, 0, R3TID_INTEGER, 0);
  21. }
  22.  
  23. // Description: Enumerates all registered input channels in a phase    * by R3SendMsgA3(targetobj, targetmth, phaseclid, raysampleselector, channelclid).
  24.  
  25. R3PHSYSCM_ENUMPHASEINPUTCHAN = 488005;
  26.  
  27. function mR3PHSYSCM_ENUMPHASEINPUTCHAN() {
  28.   DoA(this.r3obj, 488005, 0, R3TID_INTEGER, 0);
  29. }
  30.  
  31. // Description: Enumerates all registered output channels in a phase    * by R3SendMsgA2(targetobj, targetmth, phaseclid, channelclid).
  32.  
  33. R3PHSYSCM_ENUMPHASEOUTPUTCHA = 488006;
  34.  
  35. function mR3PHSYSCM_ENUMPHASEOUTPUTCHA() {
  36.   DoA(this.r3obj, 488006, 0, R3TID_INTEGER, 0);
  37. }
  38.  
  39.  
  40. R3PHSYSCM_PRINTCHANNELLOG = 488008;
  41.  
  42. function mR3PHSYSCM_PRINTCHANNELLOG() {
  43.   DoA(this.r3obj, 488008, 0, R3TID_INTEGER, 0);
  44. }
  45.  
  46. // Description: These two methods can be used to register all plugged channels as    * input/output channels
  47. //      for a given phase and sample
  48.  
  49. R3PHSYSCM_REGISTERALLOUTPUTC = 488010;
  50.  
  51. function mR3PHSYSCM_REGISTERALLOUTPUTC() {
  52.   DoA(this.r3obj, 488010, 0, R3TID_INTEGER, 0);
  53. }
  54.  
  55. // Description: convert phase index to corresponding phase clid    *
  56.  
  57. R3PHSYSCM_PHASEINDEXTOCLID = 488011;
  58.  
  59. function mR3PHSYSCM_PHASEINDEXTOCLID() {
  60.   DoA(this.r3obj, 488011, 0, R3TID_INTEGER, 0);
  61. }
  62.  
  63.  
  64.  
  65.  
  66. var R3PHASYS_MAXRAYSAMPLES = 4;
  67. var R3PHASYS_MAXPHASES = 32;
  68.  
  69.  
  70. function r3Phasesystem () { 
  71.    this.base = r3God;
  72.    if(arguments.length) {
  73.       this.base(R3CLID_PHASESYSTEM, arguments);
  74.    }
  75.    // Methods
  76.    this.INSTALLPHASE=mR3PHSYSCM_INSTALLPHASE;
  77.    this.ENUMPHASEINPUTCHAN=mR3PHSYSCM_ENUMPHASEINPUTCHAN;
  78.    this.ENUMPHASEOUTPUTCHA=mR3PHSYSCM_ENUMPHASEOUTPUTCHA;
  79.    this.PRINTCHANNELLOG=mR3PHSYSCM_PRINTCHANNELLOG;
  80.    this.REGISTERALLOUTPUTC=mR3PHSYSCM_REGISTERALLOUTPUTC;
  81.    this.PHASEINDEXTOCLID=mR3PHSYSCM_PHASEINDEXTOCLID;
  82.  
  83.    // Attributes
  84. }
  85.  
  86. r3Phasesystem.prototype=new r3Root;
  87. // r3phasys.h_H